From 4a5ec3085e0fd38940b98d32ca5a0203e736ff97 Mon Sep 17 00:00:00 2001 From: robertl Date: Sun, 18 Jan 2004 00:56:34 +0000 Subject: [PATCH] Nuke dead code. --- gpsbabel/gpx.c | 5 ----- gpsbabel/util.c | 20 -------------------- 2 files changed, 25 deletions(-) diff --git a/gpsbabel/gpx.c b/gpsbabel/gpx.c index cc4d573fa..f74250482 100644 --- a/gpsbabel/gpx.c +++ b/gpsbabel/gpx.c @@ -1095,11 +1095,6 @@ gpx_route_tlr(const route_head *rte) fprintf(ofd, "\n"); } -static -void gpx_noop() -{ -} - static void gpx_route_pr() { diff --git a/gpsbabel/util.c b/gpsbabel/util.c index 9d8ad9fcf..2cb9f1c5d 100644 --- a/gpsbabel/util.c +++ b/gpsbabel/util.c @@ -293,14 +293,6 @@ case_ignore_strcmp(const char *s1, const char *s2) } -double -mkposn(const char *string) -{ - double coord; - sscanf(string, "%lf", &coord); - return coord; -} - void printposn(const double c, int is_lat) { @@ -313,18 +305,6 @@ printposn(const double c, int is_lat) printf("%f%c ", fabs(c), d); } -void -fprintdms(FILE *file, const double c, int is_lat) -{ - char d; - if (is_lat) { - if (c < 0) d = 'S'; else d = 'N'; - } else { - if (c < 0) d = 'W'; else d = 'E'; - } - fprintf(file, "%c%f\t", d, fabs(c)); -} - void fatal(const char *fmt, ...) { -- 2.30.2